<template>
	<view>
			<uni-list  :border="true">
					<!-- 显示圆形头像 -->
					<view class="" @click.capture="tiao">
						<uni-list-chat  v-for="(item,index) in 3" :key="index" :avatar-circle="true" :title="title" avatar="https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/unicloudlogo.png" note="您收到一条新的消息" time="2020-02-02 20:20" ></uni-list-chat>
					</view>
						</uni-list>
				<button @click.stop="more" v-if="!flag">查看更多</button>
	</view>
</template>
<script>
	export default {
		name:"newslist",
		props:['title',"flag"],
		data() {
			return {
				
			};
		},
		methods:{
			tiao(){
				console.log(11)
				uni.navigateTo({
					url:"/pages/infocar/infocar"
				})
			},
			more(){
				console.log(11)
			}
		}
	}
</script>

<style>

</style>